/* 
 * File:   ZipCompressor.h
 * Author: jorge
 *
 * Created on June 28, 2013, 6:20 PM
 */

#ifndef ZIPCOMPRESSOR_H
#define	ZIPCOMPRESSOR_H

#include "ZipBuilder.h"
#include "ZipWriter.h"
#include "PathBuilder.h"

class ZipCompressor
{
public:
    ZipCompressor();
    ~ZipCompressor();
    void compress(std::vector<std::string> pathsList, const char* destinyPath, const char* fileName);
private:
    void loadFileToCompress(std::vector<std::string> pathsList, std::vector<FilePathData>& filesToCompress);

    ZipBuilder* builder_;
    ZipWriter* writer_;
};

#endif	/* ZIPCOMPRESSOR_H */

